package cn.jiyun.service;

import cn.jiyun.common.model.day1.Person;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author 李星月
 * @Date: 2023/8/22 15:33
 * @Description : UserService
 */
@FeignClient("day14Person")
@Service
public interface UserService {
    @PostMapping("/person/userlogin")
    public Person userlogin(@RequestBody Person person);
}
